//
//  UIView+Frame.h
//  weibo
//
//  Created by 胡金东 on 16/3/16.
//  Copyright © 2016年 胡金东. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Frame)

//分类不能添加成员属性
//@property如果在分类里面，只会自动生成get，set方法的声明，不会生成成员属性和方法的实现
@property (nonatomic,assign) CGFloat x;
@property (nonatomic,assign) CGFloat y;
@property (nonatomic,assign) CGFloat centerX;
@property (nonatomic,assign) CGFloat centerY;
@property (nonatomic,assign) CGFloat width;
@property (nonatomic,assign) CGFloat height;
@property (nonatomic,assign) CGSize size;
@property (nonatomic,assign) CGPoint origin;

@end
